<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>

</head>
<body>
    <script type="text/javascript">
        function OnPageOfficeCtrlInit() {
            // PageOffice的初始化事件回调函数，您可以在这里添加自定义按钮
            pageofficectrl.AddCustomToolButton("保存", "Save", 1);
            pageofficectrl.AddCustomToolButton("全屏/还原", "IsFullScreen", 4);
        }
        //保存页面
        function Save() {
            //设置保存方法
            pageofficectrl.SaveFilePage="/SetDrByUserWord/save";
            pageofficectrl.WebSave();
        }

        //全屏/还原
        function IsFullScreen() {
            pageofficectrl.FullScreen = !pageofficectrl.FullScreen;
        }
    </script>

    <div class="flow4">
        <strong>当前用户：</strong>
        <span style="color: Red;" th:utext="${userName}"></span>
    </div>

    <div style=" width:auto; height:800px;" th:utext="${pageoffice}">
    </div>

        <!--**************   卓正 PageOffice组件 ************************-->

</body>

</html>
